package com.imti.mall.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.imti.mall.admin.model.entity.UmsAdmin;
import com.imti.mall.common.domain.CommonResult;
import com.imti.mall.feign.dto.UmsAdminLoginParam;

public interface UmsAdminService extends IService<UmsAdmin> {

    /**
     * 登录功能
     * @param umsAdminLoginParam 验证用户参数对象
     * @return 生成的JWT的token
     */
    CommonResult login(UmsAdminLoginParam umsAdminLoginParam);
}
